package com.atguigue;

import com.atguigue.bean.AnnotationApplicationContext;
import com.atguigue.bean.ApplicationContext;
import com.atguigue.service.UserService;

/**
 * @author: Michael
 * @date: 2025/5/15
 * @desc:
 */
public class TestUser {

    public static void main(String[] args) {
        ApplicationContext context = new AnnotationApplicationContext("com.atguigue");
        UserService userService = (UserService) context.getBean(UserService.class);
        userService.add();
    }
}
